package com.maiworld.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.maiworld.pojo.TbFans;
import com.maiworld.pojo.TbFansExample;

public interface TbFansMapper {
    int countByExample(TbFansExample example);

    int deleteByExample(TbFansExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbFans record);

    int insertSelective(TbFans record);

    List<TbFans> selectByExample(TbFansExample example);

    TbFans selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbFans record, @Param("example") TbFansExample example);

    int updateByExample(@Param("record") TbFans record, @Param("example") TbFansExample example);

    int updateByPrimaryKeySelective(TbFans record);

    int updateByPrimaryKey(TbFans record);
    
    List<TbFans> selectByFans(Long sid);
}